PrValidate
PrValidate
Ensure that a TPrint record has valid settings returns Were any fields changed?
compatibility with the printer driver and the currently-active printer. Use
this to verify the integrity of a print record you created on-the-fly or read
hPrtRec is a handle leading to a 120-byte TPrint structure. Upon return, its fields have been verified, and if the return value is TRUE, one or more of those fields have been changed.
Returns: a Boolean; it indicates whether fields of hPrtRec were modified. It is one of:
FALSE The record was entirely valid. TRUE One or more fields need to be (and were) changed.
Notes: In the event that certain fields of the TPrint record were not internally self-consistent, PrValidate will modify these values without indicating it did so in the return value.
default settings.
that the printing resource file made current by PrOpen is either the current resource file, or below the current resource file in the resource
file chain, (see UseResFile for details) so that it can be accessed.